package com.hlf.modules.sys.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 行政区划实体类
 * 
 * @author shuliangxing
 *
 * @date 2017年3月29日 下午4:36:10
 */
public class Area {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6934074909797883634L;

	private Integer parentId;

	private Integer level;

	private Long pAreaCode;

	private Long areaCode;

	private Integer zipCode;

	private String cityCode;

	private String name;

	private String shortName;

	private String mergerName;

	private String pinyin;

	private BigDecimal lng;

	private BigDecimal lat;

	/** id */
	private String id;

	/** 多个逗号分隔id字符串，可用于多id批量操作 */
	private String ids;

	/**
	 * 数据状态, 1:有效 0:无限(删除)
	 */
	private Integer status;

	/**
	 * 新增时间
	 */
	private Date insertDate;

	/**
	 * 新增人id
	 */
	private Long insertBy;

	/**
	 * 新增人名字
	 */
	private String insertName;

	/**
	 * 最后修改时间
	 */
	private Date lastUpdateDate;

	/**
	 * 最后修改人
	 */
	private Long lastUpdateBy;

	/**
	 * 最后修改人名字
	 */
	private String lastUpdateName;

	/**
	 * 开始时间,可用来做时间区间段查询
	 */
	private String dateStart;

	/**
	 * 结束时间,可用来做时间区间段查询
	 */
	private String dateEnd;

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getInsertDate() {
		return insertDate;
	}

	public void setInsertDate(Date insertDate) {
		this.insertDate = insertDate;
	}

	public Long getInsertBy() {
		return insertBy;
	}

	public void setInsertBy(Long insertBy) {
		this.insertBy = insertBy;
	}

	public String getInsertName() {
		return insertName;
	}

	public void setInsertName(String insertName) {
		this.insertName = insertName;
	}

	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public Long getLastUpdateBy() {
		return lastUpdateBy;
	}

	public void setLastUpdateBy(Long lastUpdateBy) {
		this.lastUpdateBy = lastUpdateBy;
	}

	public String getLastUpdateName() {
		return lastUpdateName;
	}

	public void setLastUpdateName(String lastUpdateName) {
		this.lastUpdateName = lastUpdateName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getDateStart() {
		return dateStart;
	}

	public void setDateStart(String dateStart) {
		this.dateStart = dateStart;
	}

	public String getDateEnd() {
		return dateEnd;
	}

	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(Long areaCode) {
		this.areaCode = areaCode;
	}

	public Integer getZipCode() {
		return zipCode;
	}

	public void setZipCode(Integer zipCode) {
		this.zipCode = zipCode;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode == null ? null : cityCode.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName == null ? null : shortName.trim();
	}

	public String getMergerName() {
		return mergerName;
	}

	public void setMergerName(String mergerName) {
		this.mergerName = mergerName == null ? null : mergerName.trim();
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin == null ? null : pinyin.trim();
	}

	public BigDecimal getLng() {
		return lng;
	}

	public void setLng(BigDecimal lng) {
		this.lng = lng;
	}

	public BigDecimal getLat() {
		return lat;
	}

	public void setLat(BigDecimal lat) {
		this.lat = lat;
	}

	public Long getpAreaCode() {
		return pAreaCode;
	}

	public void setpAreaCode(Long pAreaCode) {
		this.pAreaCode = pAreaCode;
	}

	@Override
	public String toString() {
		return "Area [parentId=" + parentId + ", level=" + level + ", pAreaCode=" + pAreaCode + ", areaCode=" + areaCode
				+ ", zipCode=" + zipCode + ", cityCode=" + cityCode + ", name=" + name + ", shortName=" + shortName
				+ ", mergerName=" + mergerName + ", pinyin=" + pinyin + ", lng=" + lng + ", lat=" + lat + "]"
				+ super.toString();
	}

}